package dynamic.metadata;

public class DOrderFieldInfo {
    /**
     * 字段
     */
    private String column;


    /**
     * 排序类型
     */
    private String type;

    /**
     * 排序顺序
     */
    private short sort;


    public DOrderFieldInfo(String column, String type, short orderBySort) {
        this.column = column;
        this.type = type;
        this.sort = orderBySort;
    }

    public String getOrderByType(){
        return type;
    }

    public short getOrderBySort(){
        return sort;
    }

    public String getColumn() {
        return column;
    }
    public void setColumn(String column) {
        this.column = column;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public short getSort() {
        return sort;
    }

    public void setSort(short sort) {
        this.sort = sort;
    }

}
